@echo off
echo Checking database connection and user data...
echo.
echo 1. Checking admin user...
mysql -u root -p1234 zxgj -e "SELECT user_name, status, del_flag FROM sys_user WHERE user_name='admin';"
echo.
echo 2. Checking total users...
mysql -u root -p1234 zxgj -e "SELECT COUNT(*) as total_users FROM sys_user;"
echo.
echo 3. Checking user table structure...
mysql -u root -p1234 zxgj -e "DESCRIBE sys_user;"
echo.
pause
